﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="menu.ascx.cs" Inherits="Jxym.wlkc2011.menu" %>
<li><a id="home" href="<%=SiteName%>.xhtml" class="noline">网站首页</a></li>
<asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
    <ItemTemplate>
        <li><a id='menu<%#Eval("ID")%>' href="<%=SiteName%>_<%#Jxym.wlkc2011.MyGet.KCXX(Eval("Title"))%><%#Eval("ID")%>.xhtml">
            <%#Eval("Title")%><asp:HiddenField ID="HiddenField1" runat="server" Value='<%#Eval("ID")%>' />
        </a>
            <asp:Repeater ID="Repeater2" runat="server">
                <HeaderTemplate>
                    <ul>
                </HeaderTemplate>
                <ItemTemplate>
                    <li><a id='menu<%#Eval("ID")%>' href='<%=SiteName%>_<%#Jxym.wlkc2011.MyGet.KCXX(Eval("Title"))%><%#Eval("ID")%>.xhtml'>
                        <%#Eval("Title")%>
                    </a></li>
                </ItemTemplate>
                <FooterTemplate>
                    </ul>
                </FooterTemplate>
            </asp:Repeater>
        </li>
    </ItemTemplate>
</asp:Repeater>
